graypy This function randomly selects and returns a GELF (Graylog Extended Log Format) handler from the Graylog third-party library. GELF is a binary log format optimized for log transmission and storage. The function uses `random.choice` to randomly select between GELFHandler and GelfUdpHandler, then creates an instance of the corresponding handler based on the choice. The type of code 2024-12-16 12:17:37 22 views
graypy GELFHandler This function uses the Graylog third-party library to send a query to the Graylog server and returns a placeholder indicating that the query has been sent. Function 2024-12-16 12:11:50 20 views
graypy GELFHandler This function sends a log message to a Graylog server using the GELF protocol, while filtering by a specified field and value. Log 2024-12-16 12:06:18 19 views
graypy logging This function uses the GelfHandler from the Graylog library to send messages to a Graylog server. The function takes a message ID and a dictionary of fields, which are sent as a log message to Graylog. Custom function 2024-12-16 12:03:42 3 views
graypy flask This function creates a Flask application using the Graylog GELFHandler to send log messages. Python Function 2024-12-16 12:03:26 4 views
Graypy GELFHandler This code randomly selects and configures a Graylog logger handler, formatter, and transport. The code first randomly selects one from the possible handler types, then selects a formatter and transport for the handler. Finally, the code configures the handler to use the selected formatter and transport. The type of code 2024-12-16 11:48:44 12 views
graypy This function generates a random Graylog configuration including the transport type, host addresses, and log level. It creates a GelfHandler using the graypy library, which is a handler used to send logs to Graylog. The type of code 2024-12-16 11:44:23 4 views
graypy This code defines a function named random_gelf_handler that creates a GELFHandler to send log messages to a Graylog server. The function generates a random GELF message and sends it using the handler. Log 2024-12-16 11:40:42 5 views
graypy GELFHandler This function uses the third-party library graypy to send log records to a Graylog server. The function accepts a query string and a list of target hosts as parameters. Function 2024-12-16 11:36:04 3 views
Graypy GelfHandler This function uses the Graypy library to send log messages to a Graylog server, where you can specify the message, severity, and source. Log 2024-12-16 11:35:36 14 views